import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function a005(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	console.log('点击选中部门', args[0]);
	const deptid = args[0].id;
	fd.data.curr_dept = { deptid };
	fire_component_msg('zj-personnel-file-002', 'ec011', deptid);//通知员工组件更新当前部门
}
